<?php
require '../model/Db.php';
$Db = Db::getInstance();
$admin_data = $Db->isadmin();
$Db->close();
if($admin_data){
	setcookie('M_','',time()-60);
	setcookie('_W','',time()-60);
}
$msg = $admin_data?'再见,尊敬的root管理员~':'您还没有登录呢~';
$class = $admin_data?'ok':'err';
$reurl = 'login.php';
include './view/skip.html';